package com.whiteape.book.model.type;

import android.graphics.Color;

public class SourceFromType {
    public static final int SOURCE_FROM_WHITEAPE = 0;
    public static final int SOURCE_FROM_YUEDU2= 1;
    public static final int SOURCE_FROM_YUEDU3 = 2;

    public static String getName(int type) {
        if (type == SOURCE_FROM_WHITEAPE) {
            return "白猿规则";
        } else if (type == SOURCE_FROM_YUEDU2) {
            return "阅读2.0规则";
        } else if (type == SOURCE_FROM_YUEDU3) {
            return "阅读3.0规则";
        }
        return "错误类型";

    }

}
